package com.ricohgag.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ricohgag.entity.VipUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 肖晖
 * @since 2018-08-25
 */
public interface VipUserService extends IService<VipUser> {
    public IPage<VipUser> selectVipUserPage(String name, Page<VipUser> page, String startDate, String endDate) throws Exception;

    public VipUser selectVipUserOne(Integer id) throws Exception;

    public int updateVipUser(VipUser vipUser) throws Exception;

    public int insertVipUser(VipUser vipUser) throws Exception;

    public int deleteVipUser(int id) throws Exception;

    public VipUser checkVipUser(String username, String password) throws Exception;

    public VipUser selectByName(String username)throws Exception;
}
